import {Button, theme} from "antd";
import {goto} from "../../router/hisRouter";
import {Content} from "antd/es/layout/layout";
function admin(){
    // 获取Design Token
    const token = theme.useToken().token || {};
    const contentStyle = {
        textAlign: 'center',
        minHeight: '100%',
        lineHeight: '120px',
        color: '#fff',
        backgroundColor: token.colorBgContainer,
    };

    return (
        <Content style={contentStyle}>
            <div>
                <span style={{color:token.colorText}}>admin</span>
                <Button onClick={()=>{goto('/entry/home')}}>返回</Button>
            </div>
        </Content>
    )
}

export default admin